package com.sjg.sys.entity;

/**
 *资源实体类
 * 菜单、页面、数据、按钮等
 */
public class SysResources extends BaseEntity{
    /*资源编号 唯一*/
    private String resCode;
    /*资源名称*/
    private String name;
    /*图标*/
    private String icon;
    /*是否隐藏 1显示 ，2隐藏*/
    private Integer isHide;
    /*描述*/
    private String description;
    /*父id*/
    private Long pid;
    /*顺序*/
    private Integer sort;
    /*资源类型 1菜单、2页面、3数据、4按钮*/
    private Integer type;
    /*资源url*/
    private String url;

    public String getResCode() {
        return resCode;
    }

    public void setResCode(String resCode) {
        this.resCode = resCode;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public Integer getIsHide() {
        return isHide;
    }

    public void setIsHide(Integer isHide) {
        this.isHide = isHide;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Long getPid() {
        return pid;
    }

    public void setPid(Long pid) {
        this.pid = pid;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }
}